package com.stardata.liangshisq.tcslmon.service;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.fasterxml.jackson.core.JsonProcessingException;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author Samson Shu
 * @email shush@stardata.top
 * @date 2020/12/12 20:10
 */
@DS("canyin")
public interface OrderQueueService {
  /**
   * 重新计算订单排队
   */
  @Transactional(rollbackFor = {Exception.class})
  void refresh() throws JsonProcessingException;

}
